<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    
</head>

<body>


    <div class="app">
        <p>{{name}}</p>
    </div>

    <script src="./node_modules/_vue@2.5.22@vue/dist/vue.js"></script>
    <script>
        var a = new Vue({
            //el指向需要控制的元素
            el: '.app',
            //data 存放数据;
            data: {
                name: '狗子'
            }
        })
    </script>
</body>

</html>